#include <stdio.h>

int main() 
{
    int y = 0;
    int m = 0;
    int d = 0;
    y >= 1990 && y <= 2015;
    m >= 1 && m <= 12;
    d >= 1 && d <= 30;

    scanf("%4d%2d%2d",&y,&m,&d);
    printf("year=%4d\n",y);
    printf("month=%02d\n",m);
    printf("date=%02d\n",d);

    return 0;
}